package com.ych.bean;

import lombok.Data;
import lombok.Getter;

/**
 * @BelongsProject: ape-frame
 * @BelongsPackage: com.ych.bean
 * @Author: ych
 * @CreateTime: 2024-11-18  11:16
 * @Description: TODO
 * @Version: 1.0
 */

@Getter
public enum ResultEnum {
    SUCCESS(200, "成功"), ERROR(500, "失败"), PARAMNOTEXIST(1000, "其他");

    private Integer code;

    private String message;


    private ResultEnum(Integer code, String message) {
        this.code = code;
    }
}
